package com.sanwu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sanwu.dto.BusinessDto;
import com.sanwu.entity.Business;
import com.sanwu.vo.AjaxResult;

/**
 * @author hgh
 * @date 2025/3/11
 * @apiNote
 */
public interface BusinessService extends IService<Business> {

    /**
     * 新增业务
     *
     * @return
     */
    AjaxResult insertBusiness(BusinessDto businessDto);

    /**
     * 查看业务执行进度
     *
     * @param businessDto
     * @return
     */
    AjaxResult queryBusiness(BusinessDto businessDto);

    /**
     * 处理业务
     *
     * @param businessDto
     * @return
     */
    AjaxResult dealBusiness(BusinessDto businessDto);
}
